package com.codingfuture.erp_system.service.impl;

import com.codingfuture.erp_system.dto.ChanageListDto;
import com.codingfuture.erp_system.entity.Emp;
import com.codingfuture.erp_system.entity.Goods;
import com.codingfuture.erp_system.entity.Store;
import com.codingfuture.erp_system.mapper.ChangeListMapper;
import com.codingfuture.erp_system.service.ChangeListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChangeListServiceImpl implements ChangeListService {

    @Autowired
    private ChangeListMapper changeListMapper;

    @Override
    public List<ChanageListDto> findByAll(ChanageListDto chanageListDto) {
        return changeListMapper.findByAll(chanageListDto);
    }

    @Override
    public List<Emp> findEmpList() {
        return changeListMapper.findEmpList();
    }

    @Override
    public List<Store> findStoreList() {
        return changeListMapper.findStoreList();
    }

    @Override
    public List<Goods> findGoodsList() {
        return changeListMapper.findGoodsList();
    }

}
